package com.xiyang.firstfeign.fallback;

import com.xiyang.firstfeign.clients.FirstFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author xiyang.ycj
 * @since May 31, 2019 11:41:48 AM
 */
@Component
public class FirstFeignFallback implements FirstFeignClient {
    @Override
    public String sayHello(String name) {
        return "hello Hystrix is starting";
    }
}
